<?php

/*ini_set("display_errors",1);
echo 1;
echo file_get_contents("https://api.qidian.qq.com/cgi-bin/token?grant_type=client_credential&appid=200769550&secret=Oe3sNMrwTiT9vwlF");

var_dump(json_decode('{"errcode":45004,"errmsg":"\u53c2\u6570\u9519\u8bef"}',true));

echo 2;
echo `wget https://api.qidian.qq.com/cgi-bin/token?grant_type=client_credential&appid=200769550&secret=Oe3sNMrwTiT9vwlF`;
*/

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>名爵ZS</title>
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=640,target-densitydpi=device-dpi,maximum-scale=1.0, user-scalable=yes">
<!-- <meta name="viewport" content="width=device-width,target-densitydpi=device-dpi,maximum-scale=1.0, user-scalable=no"> -->

    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <link rel="stylesheet" href="css/swiper-3.4.2.min.css">
    <link rel="stylesheet" href="css/index.css?F=1">
    <script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/layer.js" type="text/javascript" charset="utf-8"></script>
    <!-- QiDianDA -->



<script type="text/javascript">
/*基础数据跟踪代码*/
var _istTracker = _istTracker || [];
_istTracker.push( [ "db", "ainsight" ] ,[ "sitecode", "8000219" ]);
_istTracker.push( [ "_tracking" ] );

(function() {
    var dms = document.createElement('script');
    dms.type = 'text/javascript'; dms.async = true;
    dms.src = ('https:' == document.location.protocol ? 'https://2' : 'http://1') + '.allyes.com.cn/ainsight.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(dms, s);

    var ccautomax = document.createElement("script");
    ccautomax.type = 'text/javascript'; ccautomax.async = true;
    ccautomax.src = "http://bd.ccautomax.com/waptj_<?=$_GET["wapid"]?>.js";
    var cs = document.getElementsByTagName("script")[0];
    cs.parentNode.insertBefore(ccautomax, cs);
})();
</script>


<script type="text/javascript">
/*点击事件跟踪代码(必须先包含基础代码)*/
/*按钮上onclick部代码如下调用上述方法，例如：<input type="button" value="发送" onclick="istTrackEvent();">*/
var istTrackEvent = function(){
    _istTracker.push(["evtcate", "MGH5"],["evtaction", "MGH5_<?=$_GET["wapid"]?>"]);
    _istTracker.push(["_tracking"] );
    OnNavigate('http://q.url.cn/s/<?=$_GET["wpacode"]?>?flag=mg');
    };

</script>

</head>
<body>
    <!-- Swiper -->
    <div class="swiper-container swiper-container1">
        <div class="swiper-wrapper">
            <div class="swiper-slide swiper-slide1" style="position:relative;background: url(img/page1.jpg) no-repeat;background-size:100% 100%;" onclick="istTrackEvent();">
            <!-- <img src="img/page1.jpg" style="width:100%;" alt="" /> -->
            </div>
            <div class="swiper-slide swiper-slide1" style="position:relative;background: url(img/page2.jpg) no-repeat;background-size:100% 100%;">
                        <div class="page2" style="position:relative;width:100%;height:100%;top:0;left:0;">
                            <div class="swiper-container swiper-container2">
                                <div class="swiper-wrapper lunbo">
                                    <div class="swiper-slide"><img src="img/1.jpg" alt="" /></div>
                                    <div class="swiper-slide"><img src="img/2.jpg" alt="" /></div>
                                    <div class="swiper-slide"><img src="img/3.jpg" alt="" /></div>
                                    <div class="swiper-slide"><img src="img/4.jpg" alt="" /></div>
                                    <div class="swiper-slide"><img src="img/5.jpg" alt="" /></div>
                                    <div class="swiper-slide"><img src="img/6.jpg" alt="" /></div>
                                </div>
                                <!-- Add Pagination -->
                                <div class="swiper-pagination swiper-pagination2"></div>
                            </div>
                            <div style="float: left;margin-top: 30px;">
                                <img src="img/peizhilab.png" alt="" class="src" />
                            </div>
                            <div class="peizhi" style="width:100%;margin:20px auto;" onclick="fangda();">
                                <img  src="img/btnpeizhi.jpg" alt="" class="src" />
                            </div>
                            <div class="kefu" style="width:100%;margin:20px auto;" onclick="istTrackEvent();">
                                <img  src="img/btnkf.png" alt="" class="src" />
                            </div>
                        </div>
            </div>
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination swiper-pagination1"></div>
    </div>


<div id="peizhi" style="width:543px;overflow:auto;height:90%;">
    <img src="img/peizhi.jpg" alt="" />
</div>
<!--     <div class="wrapper">
        <img id="btn" src="imgs/btn.png" alt="">
    </div> -->
<script>
    function fangda(){
        layer.open({
          type: 1,
          title: false,
          closeBtn: 1,
          shadeClose: true,
          skin: 'yourclass',
          area: '543px',
          content: $('#peizhi')
        });
    }
</script>
<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
</body>
<script type="text/javascript" src="http://automax.aiodt.com/jsp_client.js"></script>
</html>